package com.bancomer.batch.converters.impl;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

import com.bancomer.batch.converters.AuditAlert;
import com.bancomer.batch.pojo.Detail;
import com.bancomer.batch.pojo.Summary;
import com.bancomer.batch.pojo.SummaryDetail;

public class AuditAlertImpl implements AuditAlert {
	private List<Summary> summaryList =new ArrayList<Summary>();
	private List<Detail> detailList = new ArrayList<Detail>();
	private List<SummaryDetail> summaryDetailList = new ArrayList<SummaryDetail>();
	
	@Override
	public Collection<Summary> getSummary() {
		// TODO Auto-generated method stub
		return summaryList;
	}

	@Override
	public Collection<Detail> getDetail() {
		// TODO Auto-generated method stub
		return detailList;
	}

	@Override
	public void addSummary(Summary summary) {
		// TODO Auto-generated method stub
		summaryList.add(summary);
	}

	@Override
	public void addDetail(Detail detail) {
		// TODO Auto-generated method stub
		detailList.add(detail);
	}

	@Override
	public Collection<SummaryDetail> getSummaryDetail() {
		// TODO Auto-generated method stub
		return summaryDetailList;
	}

	@Override
	public void addSummaryDetail(SummaryDetail summaryDetail) {
		// TODO Auto-generated method stub
		summaryDetailList.add(summaryDetail);
	}
}
